<div>
  <!-- 添加商品按钮 -->
  <el-button type="primary" @click="goToAddGood">添加商品</el-button>
  <!-- 商品表格 -->
  <el-table :data="goodsListData" style="width: 100%">
    <!-- 索引列 -->
    <el-table-column type="index" label="#" width="80"> </el-table-column>
    <el-table-column prop="goods_name" label="商品名称" width="180">
    </el-table-column>
    <el-table-column prop="goods_price" label="商品价值" width="180">
    </el-table-column>
    <el-table-column prop="goods_number" label="商品数量"> </el-table-column>
    <el-table-column label="创建时间">
      <template slot-scope="scope">
        <span>{{ scope.row.add_time | corretTime }}</span>
      </template>
    </el-table-column>
    <el-table-column label="操作"> </el-table-column>
  </el-table>
</div>
